package com.ebs.md.fxmonitor.marketmonitor.esper;

/**
/**
* Perforce Revision:
*  $File: //depot/MarketData/fxmonitor/main/src/main/java/com/ebs/md/fxmonitor/marketmonitor/esper/PassiveHitsBTSSingleFactStatement.java $
*  $Revision: #2 $  $Change: 115962 $  $DateTime: 2012/10/18 15:19:38 $  $Author: Aviad.Yosef $
*/

import com.ebs.md.container.esper.AbsStatement;
import com.ebs.md.fxmonitor.marketmonitor.config.IPassiveHitsBTSConfig;


public class PassiveHitsBTSSingleFactStatement
extends AbsStatement<IPassiveHitsBTSConfig>
{
	@Override
	protected String createEplExpression() {
		String str =
		String.format(eplExpressionText
				, config.getTimeFrameThreshold()      //1. alert time frame
				, config.getNumberOfHitsThreshold()   //2. number of hits 
				);
		return str;
	}
	
}
